package com.yelobblog.yelobblog.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//CREATE TABLE IF NOT EXISTS articleLikes (
//        articleId BIGINT NOT NULL,
//        userId BIGINT NOT NULL,
//        PRIMARY KEY (articleId, userId),
//FOREIGN KEY (articleId) REFERENCES articles(id) ON DELETE CASCADE,
//FOREIGN KEY (userId) REFERENCES user(id) ON DELETE CASCADE
//    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class articleLikes {
    private int articleId;
    private int userId;
}
